package com.parenting.entities;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.parenting.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 投诉
 * </p>
 *
 * @author zcj
 * @since 2021-04-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("parenting_report")
@ApiModel(value = "Report对象", description = "投诉")
public class Report extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "举报内容的ID")
    @TableField("REPORT_LABEL_ID")
    private Long reportLabelId;

    @ApiModelProperty(value = "举报内容")
    @TableField("REPORT_CONTENT")
    private String reportContent;

    @ApiModelProperty(value = "举报理由")
    @TableField("REPORT_REASON")
    private String reportReason;

    @ApiModelProperty(value = "举报类型 1、用户举报2、内容举报")
    @TableField("TYPE")
    private Integer type;

    @ApiModelProperty(value = "管理员操作 0、拒绝 1、未操作2、删除选中作品3、清楚个人说明4、清空用户标签")
    @TableField("`OPTION`")
    private Integer option;

    @ApiModelProperty(value = "广场ID集合（多个使用逗号分割）")
    @TableField("PLAZA_ID_LIST")
    private String plazaIdList;

    @ApiModelProperty(value = "广场标题 举报广场时使用")
    @TableField("PLAZA_TITLE")
    private String plazaTitle;

    @ApiModelProperty(value = "用户昵称 举报用户时使用")
    @TableField("NICKNAME")
    private String nickname;

    @ApiModelProperty(value = "被举报人的ID也是广场发布者的ID")
    @TableField("SHOPPER_ID")
    private Long shopperId;

    @ApiModelProperty(value = "审批状态1 未审核2已审核")
    @TableField("APPROVAL_STATUS")
    private String approvalStatus;

}
